<template>
    <div>
        <el-row>
            <el-button>默认按钮</el-button>
            <el-button type="primary">主要按钮</el-button>
            <el-button type="success">成功按钮</el-button>
            <el-button type="info">信息按钮</el-button>
            <el-button type="warning">警告按钮</el-button>
            <el-button type="danger">危险按钮</el-button>
        </el-row>
        <br>

        <!-- table表格 -->
        <el-table :data="tableData" border style="width: 100%">
            <el-table-column prop="date" label="日期" width="180"></el-table-column>
            <el-table-column prop="name" label="姓名" width="180"></el-table-column>
            <el-table-column prop="address" label="地址"></el-table-column>
        </el-table>

    </div>
</template>


<script>
export default {
    data() {
        return {
            tableData:[{
                date:'2016-05-02',
                name:'王小虎',
                address:'上海市普陀区金沙江路1518弄'
            },{
                date:'2016-05-04',
                name:'王小虎',
                address:'上海市普陀区金沙江路1517弄'
            },{
                date:'2016-05-01',
                name:'王小虎',
                address:'上海市普陀区金沙江路1519弄'
            },{
                date:'2016-05-03',
                name:'王小虎',
                address:'上海市普陀区金沙江路1516弄'
            }]
        }
    },

}
</script>


<style></style>